/**
 * Created by aa on 2016/10/9.
 */
'use strict';
let Redux = require('redux');
let utils = require('../common/utils.js');
let cr = utils.cr;
let actions = require('../actions/myAccount');

var reducers = Redux.combineReducers({
    mainInfo:cr({},{[actions.RECEIVE_MY_MAININFO](state,action){
        return action.mainInfo;
    }
    }),
    myPhone:cr('',{[actions.RECEIVE_MY_PHONE](state,action){
        return action.myPhone;
    }
    })
});

module.exports = reducers;